package com.varian.auth.model.vo;

import com.varian.tool.model.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ben
 * @since 2024/6/30
 */
@Data
@Schema(title = "OAuth2授权信息列视图实体")
public class OAuth2AuthorizationInfoItemVO extends BaseVO {
    @Schema(title = "注册客户端ID")
    private Long registeredClientId;
    @Schema(title = "主体名称")
    private String principalName;
    @Schema(title = "授权类型")
    private String authorizationGrantType;
    @Schema(title = "授权范围")
    private List<String> authorizedScopes;
    @Schema(title = "创建时间")
    private LocalDateTime createTime;
}
